package com.google.denta.spring.mvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author crash
 *
 */
@Controller
public class ExceptionControler {

    @RequestMapping("/401.html")
    public String error401() {
        return ".401";
    }

    @RequestMapping("/403.html")
    public String error403() {
        return ".403";
    }

    @RequestMapping("/404.html")
    public String error404() {
        return ".404";
    }
}
